#pragma warning(disable:4996)
#include<stdio.h>

int main() {
	int n = 0;
	int sum = 0;
	for (n = 3;n <= 100;n+=3)
	{
			sum += n;
	}
	printf("%d", sum);
	return 0;
}